package com.ljf.common.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 激活状态枚举
 *
 * @author LJF
 * @since 2024-10-23
 */
@Getter
@AllArgsConstructor
public enum ActivationEnum implements BasicEnum {

    NOT_ACTIVE(1, "未激活"),
    ACTIVATED(2, "已激活");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
